@import 'src/app/common/styles/variable/index.scss';
@import 'src/app/common/styles/mixin/index.scss';
.header {
  display: flex;
  align-items: center;
  margin-bottom: $gutter;
  padding: 0.28rem $pagePadding 0.28rem;
  background: #fff;
  .avatar {
    margin: 0 0.24rem 0 0;
    @include radius(0.64rem);
    border: 1px solid $border1;
  }
  .name-org {
    .name {
      margin-bottom: 0.08rem;
      font-size: 0.18rem;
    }
    .org {
      display: inline-block;
      padding: 0.04rem 0.1rem;
      font-size: 0.12rem;
      color: $info;
      border-radius: 1rem;
      border: 1px solid $border1;
    }
  }
}

.comment-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: $gutter;
  padding: $pagePadding;
  background: #fff;
  .score {
    display: flex;
    align-items: center;
    .text {
      margin-right: 0.16rem;
      font-size: 0.16rem;
    }
    .icon {
      margin-right: 0.04rem;
      font-size: 0.32rem;
      color: #fec860;
    }
  }
  .level {
    color: $font3;
  }
  .level-1 {
    color: $danger;
  }
  .level-2,
  .level-3,
  .level-4 {
    color: $success;
  }
  .level-5 {
    color: #fec860;
  }
}

.block {
  margin-top: $gutter;
  background: #fff;
  .title {
    padding: $pagePadding $pagePadding 0 $pagePadding;
    font-size: 0.16rem;
    span {
      font-size: 0.12rem;
      color: #999;
    }
  }
}

.comment-content {
  textarea {
    padding: $pagePadding;
    width: 100%;
    font-size: 0.16rem;
    line-height: 0.24rem;
    box-sizing: border-box;
    resize: none;
    &::-webkit-input-placeholder {
      color: $font4;
      font-size: 0.14rem;
    }
  }
}

.comment-image {
  margin-bottom: 0.12rem;
  .imglist {
    margin-top: 0.12rem;
  }
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: $pagePadding;
  }
}

.fill {
  height: 0.44rem;
}

.error,
.loading {
  position: relative;
  height: calc(100vh - #{$navbarHeight});
  background: #fff;
}
